<%@ Page Title="" Language="C#" MasterPageFile="~/SalesOneWeb.Master" AutoEventWireup="true" CodeBehind="SearchUsers.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.UserManagement.SearchUsers" %>
<%@ Register src="../UserControls/UCGrid.ascx" tagname="UCGrid" tagprefix="uc1" %>
<%@ Register src="../UserControls/UCGridButtons.ascx" tagname="UCGridButtons" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 111px;
        }
        .style2
        {
            width: 308px;
        }
        .style3
        {
            width: 85px;
            height: 26px;
        }
        .style4
        {
            height: 26px;
        }
        .style5
        {
            width: 85px;
            font-weight: bold;
        }
        .style8
        {
            width: 22%;
        }
        .style9
        {
            width: 69%;
            height: 34px;
        }
        .style10
        {
            width: 85px;
        }
        .style11
        {
            width: 85px;
            height: 34px;
        }
        .style12
        {
            width: 71px;
            height: 34px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        <table style="width:100%;">
            <tr>
                <td colspan="3">
                    <b>Search Users</b></td>
            </tr>
            <tr>
                <td class="style5">
                    Search</td>
                <td colspan="2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    User Name *:</td>
                <td class="style4" colspan="2">
                    <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp;
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtUserName" ErrorMessage="User name can't be empty."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style11">
                    </td>
                <td class="style12">
                    </td>
                <td class="style9">
                    &nbsp;<asp:Button ID="btnSearch" runat="server" onclick="btnSearch_Click" 
                        Text="Search" />
                </td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
                <td colspan="2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    <asp:Label ID="lblRes" runat="server"></asp:Label>
                </td>
                <td colspan="2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
                <td colspan="2">
                    <uc1:UCGrid ID="UCGrid1" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
                <td colspan="2">
                    <uc2:UCGridButtons ID="UCGridButtons1" runat="server" Visible="False" />
                </td>
            </tr>
        </table>
    </p>
</asp:Content>
